# frozen_string_literal: true

task stats: 'custom:stats'

namespace :custom do
  task stats: :environment do
    require 'rails/code_statistics'
    ::STATS_DIRECTORIES << %w[Admin app/admin]
    ::STATS_DIRECTORIES << %w[Constants app/constants]
    ::STATS_DIRECTORIES << %w[Services app/services]
    # CodeStatistics::TEST_TYPES << 'Service specs'
  end
end
